import request from '@/utils/request'

export function getList(params) {
  return request({
    url: process.env.VUE_APP_BASE_URL+'/admin/Link/list',
    method: 'get',
    params,
  })
}

export function doEdit(data) {
  return request({
    url: process.env.VUE_APP_BASE_URL+'/admin/Link/save',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: process.env.VUE_APP_BASE_URL+'/admin/Link/del',
    method: 'post',
    data,
  })
}
